import MapPickPoint from './MapPickPoint.vue';
export default MapPickPoint;

//使用demo

//html
/*

  <MapPickPoint v-if="showMap" :dialog-visible="showMap" search-key="要搜索的地名" :is-pick="mapType === 1"
    :is-plygon="mapType === 0" @map-confirm="mapConfirm" @map-close="showMap = false"></MapPickPoint>
    */
//js
/*

const showMap = ref(false);
const mapType = ref(0);
//选点回调
function mapConfirm(e) {
  showMap.value = false;
  console.log('e :>> ', e);
  if (mapType.value === 1) {
    let address = `${e.pname}${e.cityname}${e.adname}${e.address}${e.name}`;
    let longitude = e.location.lng;
    let latitude = e.location.lat;
    let city = e.adname;
    let pic = e.photos.map((item) => item.url).join(',');
  } else {
    let coordinate = e;
  }
}
  */
